package cn.mdmm.common;

import org.springframework.stereotype.Component;

import com.weixin.interfaces.WeiXinMsg;
import com.weixin.pojo.message.Message;
import com.weixin.pojo.message.event.ClickReceiveEvent;
import com.weixin.pojo.message.event.LocationReceiveEvent;
import com.weixin.pojo.message.event.ReceiveEvent;
import com.weixin.pojo.message.event.ScanReceiveEvent;
import com.weixin.pojo.message.event.SubscribeReceiveEvent;
import com.weixin.pojo.message.event.ViewReceiveEvent;
import com.weixin.pojo.message.receive.ImageReceiveMessage;
import com.weixin.pojo.message.receive.LinkReceiveMessage;
import com.weixin.pojo.message.receive.LocationReceiveMessage;
import com.weixin.pojo.message.receive.ShortVideoReceiveMessage;
import com.weixin.pojo.message.receive.TextReceiveMessage;
import com.weixin.pojo.message.receive.VideoReceiveMessage;
import com.weixin.pojo.message.receive.VoiceReceiveMessage;
import com.weixin.pojo.message.reply.TextReplyMessage;

/** 
 * 类描述：TODO(用一句话描述该类做什么)<br>
 * <br/>
 * 创建人：邓强   <br>
 * 创建时间：2017年11月6日 下午2:44:13    <br> 
 * 修改人：  <br>
 * 修改时间：2017年11月6日 下午2:44:13   <br>  
 * 修改备注：     <br>
 * @version   V1.0      
 */
@Component
public class WeiXinMsgHandle implements WeiXinMsg {

	@Override
	public Message handleTextMsg(TextReceiveMessage message) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleImageMsg(ImageReceiveMessage message) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleVoiceMsg(VoiceReceiveMessage message) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleVideoMsg(VideoReceiveMessage message) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleShortVideoMsg(ShortVideoReceiveMessage message) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleLocationMsg(LocationReceiveMessage message) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleLinkMsg(LinkReceiveMessage message) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleSubscribeEvent(ReceiveEvent event) {
		return new TextReplyMessage("欢迎关注我们！~~~~~~~~");
		
	}

	@Override
	public Message handleUnSubscribeEvent(ReceiveEvent event) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleSubscribeEvent(SubscribeReceiveEvent event) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleScanEvent(ScanReceiveEvent event) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleLocationEvent(LocationReceiveEvent event) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleClickEvent(ClickReceiveEvent event) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Message handleViewEvent(ViewReceiveEvent event) {
		// TODO Auto-generated method stub
		return null;
	}

}
